package com.siyu.rehearsal.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.siyu.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PlanPreviewRespVo {
    private static final long serialVersionUID = 1L;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String createBy;

    /**
     * 方案名称
     */
    @Excel(name = "方案名称")
    private String planName;

    /**
     * 方案类型（实时、假拟、历史）
     */
    @Excel(name = "方案类型", readConverterExp = "实=时、假拟、历史")
    private String planType;




    /**
     *  创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    /**
     * 方案描述
     */
    @Excel(name = "方案描述")
    private String planDesc;


}
